package com.kc.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.List;

/**
 * 路由配置信息
 * 
 * @author kc
 */
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class RouterVo
{

    /**
     * 路由地址
     */
    private String path;


    /**
     * 组件地址
     */
    private String component;


    /**
     * 其他元素
     */
    private MetaVo meta;

    /**
     * 目录索引
     */
    private String index;

    public String getVisible() {
        return visible;
    }

    public void setVisible(String visible) {
        this.visible = visible;
    }

    private String visible;

    /**
     * 子路由
     */
    private List<RouterVo> children;


    public String getPath()
    {
        return path;
    }

    public void setPath(String path)
    {
        this.path = path;
    }

    public String getComponent()
    {
        return component;
    }

    public void setComponent(String component)
    {
        this.component = component;
    }

    public MetaVo getMeta()
    {
        return meta;
    }

    public void setMeta(MetaVo meta)
    {
        this.meta = meta;
    }

    public List<RouterVo> getChildren()
    {
        return children;
    }

    public void setChildren(List<RouterVo> children)
    {
        this.children = children;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }
}
